#!/usr/bin/env python

poem = '''\
知人者智
自知者明
胜人者有力
自胜者强
'''

f = open('poem.txt', 'w')
f.write(poem)
f.close()

f = open('poem.txt')
while True:
	line = f.readline()
	if len(line) == 0:
		break;
	print (line,end='')

f.close()

